package com.evl.common.persistence.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangliwei
 * @since 2017-07-13
 */
@TableName("ticket_check_station")
public class TicketCheckStation extends Model<TicketCheckStation> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 车票id
     */
	@TableField("ticket_id")
	private Long ticketId;
    /**
     * 调度车_id
     */
	@TableField("sta_id")
	private Integer staId;
    /**
     * 序号
     */
	private Integer seq;
    /**
     * 站点名称
     */
	@TableField("station_name")
	private String stationName;
    /**
     * 发车时间
     */
	@TableField("start_time")
	private Date startTime;
    /**
     * 检票时间
     */
	@TableField("check_time")
	private Date checkTime;
    /**
     * 检票状态（0.未检票 1.已检票）
     */
	private String status;
    /**
     * 检票员openid
     */
	@TableField("open_id")
	private String openId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getTicketId() {
		return ticketId;
	}

	public void setTicketId(Long ticketId) {
		this.ticketId = ticketId;
	}

	public Integer getStaId() {
		return staId;
	}

	public void setStaId(Integer staId) {
		this.staId = staId;
	}

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public String getStationName() {
		return stationName;
	}

	public void setStationName(String stationName) {
		this.stationName = stationName;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
